package com.define.ssh.service.impl;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.define.ssh.dao.SysPowerDao;
import com.define.ssh.model.SysPower;
import com.define.ssh.service.SysPowerService;

@Service("sysPowerServiceImpl")
public class SysPowerServiceImpl extends BaseServiceImpl<SysPower, Integer>
		implements SysPowerService {

	@Resource(name = "sysPowerDaoImpl")
	private SysPowerDao sysPowerDao;

	@Resource(name = "sysPowerDaoImpl")
	public void setBaseDao(SysPowerDao sysPowerDao) {
		super.setBaseDao(sysPowerDao);
	}

	@Override
	public Integer gmcount(Integer id) {
		return sysPowerDao.gmcount(id);
	}

}
